/*定义JQuery的$方法*/
function $(id){
 return document.getElementById(id);
}

function changeBodyFixSideNavDivImg(id){
	$(id).style.background="url('../img/front/fix_"+id+"_hover.png')";
}

function changeBodyFixSideNavDivImgBack(id){

	$(id).style.background="url('../img/front/fix_"+id+".png')";
}

function changeBodyButtonNavSearchColor(){
	$("body_buttonNav_Search").style.color="black";
}

function showNavBar(){
	if(document.body.scrollTop>84){
		$("bodyNavBarBg").style.display="block";
		$("bodyNavBar").style.display="block";
	}
	if(document.body.scrollTop<84){
		$("bodyNavBarBg").style.display="none";
		$("bodyNavBar").style.display="none";
	}
}

function changeOP(button){
	button.style.opacity=0.2;
}

function changeBackOP(button){
	button.style.opacity=0;
}